import request from '../utils/request'
export function add(data) {
  return request({
    url:'/member/shopFavorites/add',
    method:'post',
    data:data
  })
}

export function count() {
  return request({
    url:'/member/shopFavorites/count',
    method:'get'
  })
}

export function del(params) {
  return request({
    url:'/member/shopFavorites/del',
    method:'post',
    params:params
  })
}

export function exists(params) {
  return request({
    url:'/member/shopFavorites/exists',
    method:'get',
    params:params
  })
}

export function list(params) {
  return request({
    url:'/member/shopFavorites/list',
    method:'get',
    params:params
  })
}